/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "物体/S_物体.h"


S_LigthParallel* f_ob_calloc平行光();
S_LigthSpot* f_ob_calloc聚光灯();
S_LigthPoint* f_ob_calloc点光源();
S_LigthArea* f_ob_calloc区域光();


Inline S_灯光场景数据* f_ob_calloc灯光场景数据() {
	S_灯光场景数据* data = (S_灯光场景数据*)malloc(sizeof(S_灯光场景数据));
	(*data) = {};
	return data;
}
